SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67908: The setting for the CRED_PATH= LIBNAME and CREDFILE= CASLIB options might be displayed in cleartext in logs

DetailsHotfixAboutRate It

One of the ways to authenticate to Google Cloud Platform (GCP) is through a credential file. With SAS/ACCESS® Interface to Google BigQuery, authentication can be done through the CRED_PATH= LIBNAME/CONNECT to statement option or the CREDFILE= CASLIB option. Currently, the option's value is displayed in the SAS and CAS log in cleartext. To prevent someone from being able to use the file to connect to GCP, set the UNIX permission on the JSON file to allow only a particular user access to the file.

If the user does not have Read permission on the file, an error similar to the following occurs:

ERROR: CLI error trying to establish connection: Error: cannot read credentials file: open
<filename>: permission denied
ERROR: Error in the LIBNAME statement.

Click the Hot Fix tab in this note to access the hot fix for this issue.

The hot fix is intended to not display the value in cleartext for LIBNAME statements only. The value will still be seen in the following:

  • CASLIB statement
  • FedSQL procedure using either a LIBNAME or CASLIB 
  • CASUTIL procedure
  • CAS procedure
  • SQL procedure CONNECT TO statement


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Connector to Google BigQueryLinux for x64V.03.042021.1.3ViyaViya
SAS SystemSAS/ACCESS Interface to Google BigQuery (on SAS Viya)Linux for x64V.03.042021.1.3ViyaViya
SAS SystemSAS/ACCESS Interface to Google BigQueryLinux for x649.49.439.4 TS1M69.4 TS1M8
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.